<template>
	<div>
		<CustomSwitch
			v-model="innerValue"
			v-bind="$attrs"
			v-on="$listeners"
		/>
	</div>
</template>

<script>
import {Switch} from 'element-ui';
export default {
	name:'McSwitch',
	components:{
		CustomSwitch:Switch,
	},
	props:['value'],
	data(){
		return {
			innerValue:this.value,
		};
	},
};
</script>

<style lang="scss" scoped></style>